﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PBO.Game;

namespace PBO.Game.BattleClass.BattleState
{
    public abstract class BaseBattleState
    {
        protected Pokemon pokemon;

        public BaseBattleState(Pokemon pokemon)
        {
            this.pokemon = pokemon;


        }
        public abstract void CountOfEndTurn(BattleGround ground, Action<string> appendText);
    }

    public class ToxinState : BaseBattleState
    {
        private int toxinCounter;

        public ToxinState(Pokemon pokemon) : base(pokemon) { }

        public override void CountOfEndTurn(BattleGround ground, Action<string> appendText)
        {
            if (pokemon.State == PokemonState.Toxin)
            {
                toxinCounter++;


            }

        }
    }
}
